import {get,post} from '../../utils/request' 

//获取列表信息
export const getList=(params:any):Promise<any> => get("advertisement/list",params)
//图片位置管理   adtype/list

export const type =() => get("adtype/list")


export const del=(id:any) => get("advertisement/delete",{id})


export const add=(params:any) => post("advertisement/add",params)